<ul class="model_actions">
    <?php
    $i = 0;
    foreach ($items as $action => $caption):
        $i++;
        $current = (Yii::app()->controller->action->id == $action) ? 'current' : '';
        ?>
    <li class="<?php if ($i == 1) echo 'first ' ?><?php echo $action; ?>">
        <?php echo CHtml::link($caption, array($action, 'node' => Yii::app()->request->getParam('node')), array('class' => $current)); ?>
    </li>
    <?php endforeach; ?>
    <li>
        <?php echo CHtml::beginForm(); ?>
        Select:
        <?php
        echo CHtml::dropDownList('parent_id', 0, CHtml::listData($provinces, 'id', 'name'),
            array('size' => 1, 'class' => 'dropdown', 'ajax' => array(
                'type' => 'GET',
                'url' => array('finder'),
                'update' => '#datas_list',
                'beforeSend' => 'function() { $("#media_lists").addClass("datasLoading"); }',
                'complete' => 'function() { $("#media_lists").removeClass("datasLoading"); }',
            ),
            'prompt' => '请选择省份'
        ));
        ?>
        <?php echo CHtml::endForm(); ?>
    </li>
</ul>

<style type="text/css">
    div.datasLoading {
	width: 100%;
        text-align: center;
	height: 150px;
        float: right;
	text-indent: -9999em;
        background-position: center center;
        background-repeat: no-repeat;
        opacity: 1;
        background-image: url(<?php echo Yii::app()->baseUrl; ?>/assets/backend/images/ajaxLoader.gif);
    }
    div.datasLoading * {
        opacity: .2em;
    }
</style>